package day03;

public class OperDemo {
    public static void main(String[] args) {
       /* int a=5,b=6;
        a++;
        ++b;
        int c=a++;
        int d=a++;
        System.out.println(a);
        System.out.println(b);
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);

        */

        /*
        int a=10,b=15,c=10;
        System.out.println(a<=b);//true
        System.out.println(a>=b);//false
        System.out.println(a==c);//true
        System.out.println(a++>c);//false a=10
        System.out.println(a++>c);//true a=11
        a++;
        System.out.println(a);//13
        a++;
        System.out.println(a++==14);//false a=14
        System.out.println(a++==b);//true a=15

         */

/*
        int age=35;
        System.out.println(age>=18 && age<=60);//true
        System.out.println(age<=18 && age==6);//false
        System.out.println(age==35 && age<=45);//true

 */
/*
        int a=15,b=20,c=10;
        System.out.println(!(a>b));//!false true
        System.out.println(!(a==b));//!false  true
        System.out.println(!(a+c>b));//!true  false
        System.out.println(!(a*b<b*c));//!false  true
        System.out.println(!(a+b-c<a-b+c));//!false  true
        System.out.println(!(a==b && b==c));//!false true
        System.out.println(!(a>c || a>b));//!true  false
        System.out.println(!(a<c &&a>b ||a+c>b));//!true  false
        System.out.println();

 */

/*
        int a=5;
        a+=10;
        System.out.println(a);//15
        a*=2;
        a/=3;
        System.out.println(a);//10
        short b=10;
        b+=10;
        System.out.println(b);//20
        b*=3;
        System.out.println(b);//60
        b/=2;
        System.out.println(b);//30
        b-=20;
        System.out.println(b);//10
        System.out.println(a+b);//20
        System.out.println(a*b);//100
        System.out.println(b/a);//1
        System.out.println(a-b);//0
        System.out.println(a%b);//0

 */
/*
        int age=25;
        String name="YMS";
        name="杨明舜";
        System.out.println("年龄:"+age+"  姓名:"+name);

 */
/*

        System.out.println(10+10+10+"");
        System.out.println(""+10+10+10);
        System.out.println(10+""+10+10);
        System.out.println(""+10+10+(10+10));
        System.out.println("name"+25+"一二三"+(20+20));

 */




        int a=99,b=88;
        int max=a>b?a:b;
        System.out.println(max);
        int c=a+1,d=b+11;
        int Max=c>d?c:d;
        System.out.println(Max);
        int e=c*20,f=d*10;
        int MAX=e<f?e:f;
        System.out.println(MAX);





    }
}
